<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'productchange.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
     修改产品信息<br>
     <s:iterator value="#request['changeproducts']" id="product">
     <form action="changesave.action" method="post">
        类型号： <input type="text" readOnly="true" name="type" value=<s:property value="#product.typeid"/>>
         产品名称： <input type="text" name="productname" value=<s:property value="#product.productname"/>>
        产品价格：  <input type="text" name="price" value=<s:property value="#product.price"/>>
         产品数量:<input type="text" name="remark" value=<s:property value="#product.remark"/>>
         <input type="submit" value="信息修改"/>  
      </form> 
      </s:iterator>
  </body>
</html>
